<?php require_once('../../core/import.php');?>
<?php User::Permission('ACCOUNT_LIST_VISITED_UPDATE'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {
        #添加数据
	  $Data=array
        (
            'User'=>Functions::FormArgs('Username'),
            'Title'=>  Functions::FormArgs('Title'),
		'Content'=>Functions::FormArgs('Content'),
		'Datetime_Visited'=>Functions::FormArgs('VisitedTime')
        );

        DB::UpdateRowByID('management_user_visited',Functions::FormArgs('ai'),$Data);
        echo '{"Number":"0","Description":"成功修改"}';
    }
?>